﻿<%@ Page Language="C#" MasterPageFile ="~/template/Administrador.Master" CodeBehind="Index.aspx.cs" Inherits="Proyecta.Perfiles.Index" %>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID ="BodyContent">

<form id="form1" runat="server">



 <div class="crumbs">
<ul id="breadcrumbs" class="breadcrumb"> 
<li><a href="index-2.html">Dashboard</a></li>
<li><a href="index-2.html">Roles</a></li>
</ul>			        
</div>

<div class="divider">&nbsp;</div>
<h5 class="widget-name"><i class="icon-align-justify">
   
</i>Listado de Perfiles</h5>

<div>
<asp:Button ID="btnNuevo" runat="server" Text="Nuevo" onclick="btnNuevo_Click" />
</div>

<center>
    
<asp:GridView ID="GridView1" runat="server" onselectedindexchanged="GridView1_SelectedIndexChanged" 
AutoGenerateColumns="False" AutoGenerateEditButton="True" 
        onrowediting="GridView1_RowEditing"
        onrowcancelingedit="GridView1_RowCancelingEdit" 
    onrowupdating="GridView1_RowUpdating">
<Columns>
<asp:BoundField DataField="idPermiso" HeaderText="Clave" />
<asp:BoundField DataField="Nombre" HeaderText="Descripción" />
<asp:CheckBoxField DataField="Activo" HeaderText="Activo" />
<asp:CheckBoxField DataField="eliminado" HeaderText="Eliminado" 
    Visible="False" />
</Columns>
</asp:GridView>
</center>

</form>




</asp:Content>